# -*- coding: utf-8 -*-

import matplotlib as mpl
import matplotlib.pyplot as plt
from matplotlib.figure import Figure
from matplotlib.axes import Axes

from mpl_matplotlib import mpl_font


def remove_border(ax: Axes):
    """去掉边框"""
    ax.spines['top'].set_visible(False)
    # ax.spines['bottom'].set_visible(False)
    ax.spines['right'].set_visible(False)
    # ax.spines['left'].set_visible(False)

    pass


if __name__ == '__main__':
    mpl_font()

    plt.show()
    plt.close()
    pass
